/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/**
* Original File: https://github.com/facebook/docusaurus/blob/main/website/src/components/BrowserWindow/styles.module.css
*/

.browserWindow {
    border: 3px solid var(--browser-window-bezel-color);
    border-top-left-radius: var(--ifm-global-radius);
    border-top-right-radius: var(--ifm-global-radius);
    box-shadow: var(--ifm-global-shadow-lw);
    /* margin-bottom: var(--ifm-leading); */
}

.browserWindowHeader {
    align-items: center;
    background: var(--browser-window-bezel-color);
    display: flex;
    padding: 0.5rem 1rem;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.buttons {
    white-space: nowrap;
}

.right {
    align-self: center;
    width: 10%;
}

[data-theme="light"] {
    --ifm-background-color: #fff;
}

.browserWindowAddressBar {
    flex: 1 0;
    margin: 0 1rem 0 0.5rem;
    border-radius: 12.5px;
    background-color: var(--ifm-background-color);
    color: var(--ifm-color-gray-800);
    padding: 5px 15px;
    font: 400 13px Arial, sans-serif;
    user-select: none;
    align-items: center;
    display: flex;
    padding-left: 8px;
    gap: 4px;
}

.browserWindowAddressBar img {
    filter: brightness(0.5) sepia(0.55) saturate(30) hue-rotate(190deg);
    width: 14px;
    height: 14px;
}

[data-theme="dark"] .browserWindowAddressBar {
    color: var(--ifm-color-gray-300);
}

.dot {
    margin-right: 6px;
    margin-top: 4px;
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

.browserWindowMenuIcon {
    margin-left: auto;
}

.bar {
    width: 17px;
    height: 3px;
    background-color: #aaa;
    margin: 3px 0;
    display: block;
}

.browserWindowBody {
    background-color: var(--ifm-background-color);
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    padding: 0;
}

.browserWindowBody *:last-child {
    margin-bottom: 0;
}
